﻿using Frameworks;
using Networks;
using UnityEngine;

public class App : MonoBehaviour
{
    private void Start()
    {
        DontDestroyOnLoad(gameObject);

        Debugger.EnableOnScreen(true);
    }

    private void Update()
    {
        NetworkManager.Instance.Update();
    }

    private void OnApplicationQuit()
    {
        NetworkManager.Instance.Dispose();
    }
}